package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SaleOrderDelivery;

/**
 * 销售订单发货记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public interface SaleOrderDeliveryMapper 
{
    /**
     * 查询销售订单发货记录
     * 
     * @param deliveryId 销售订单发货记录主键
     * @return 销售订单发货记录
     */
    public SaleOrderDelivery selectSaleOrderDeliveryByDeliveryId(Long deliveryId);

    /**
     * 查询销售订单发货记录列表
     * 
     * @param saleOrderDelivery 销售订单发货记录
     * @return 销售订单发货记录集合
     */
    public List<SaleOrderDelivery> selectSaleOrderDeliveryList(SaleOrderDelivery saleOrderDelivery);

    /**
     * 新增销售订单发货记录
     * 
     * @param saleOrderDelivery 销售订单发货记录
     * @return 结果
     */
    public int insertSaleOrderDelivery(SaleOrderDelivery saleOrderDelivery);

    /**
     * 修改销售订单发货记录
     * 
     * @param saleOrderDelivery 销售订单发货记录
     * @return 结果
     */
    public int updateSaleOrderDelivery(SaleOrderDelivery saleOrderDelivery);

    /**
     * 删除销售订单发货记录
     * 
     * @param deliveryId 销售订单发货记录主键
     * @return 结果
     */
    public int deleteSaleOrderDeliveryByDeliveryId(Long deliveryId);

    /**
     * 批量删除销售订单发货记录
     * 
     * @param deliveryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSaleOrderDeliveryByDeliveryIds(String[] deliveryIds);
}
